<template>
	<view class="all-main">
		<view class="main">
			<view class="tops">
				<div class="lefts">
					<view class="avatar">
						<image src="/static/avatar.png" mode=""></image>
					</view>
					<view class="names">
						<view class="phone">
							<text>18199999999</text>
						</view>
						<view class="title">
							<text>分站名称-地区-职称 姓名</text>
						</view>
					</view>
				</div>
				<view class="rights">
					<view class="logout">
						<text>退出登录</text>
					</view>
				</view>
			</view>
			<view class="menus">
				<view class="items">
					<view class="titles">
						<text>消息</text>
						<text>(120)</text>
					</view>
					<view class="right-icon">
						<uni-icons type="right"></uni-icons>
					</view>
				</view>
				<view class="items">
					<view class="titles">
						<text>修改密码</text>
					</view>
					<view class="right-icon">
						<uni-icons type="right"></uni-icons>
					</view>
				</view>
				<view class="items">
					<view class="titles">
						<text>客服电话</text>
					</view>
					<view class="right-icon">
						<uni-icons type="right"></uni-icons>
					</view>
				</view>
				<view class="items">
					<view class="titles">
						<text>当前版本</text>
					</view>
					<view class="right-icon">
						<text>V1.0</text>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.all-main {
		.main {
			padding: 50rpx;

			.tops {
				display: flex;
				justify-content: space-between;
				padding: 20rpx 0;

				.lefts {
					display: flex;
					justify-content: space-between;

					.avatar {
						border-radius: 10rpx;

						image {
							width: 120rpx;
							height: 120rpx;
						}
					}

					.names {
						padding-left: 20rpx;

						.phone {
							padding: 8rpx 0;
							font-weight: bold;
						}
					}
				}

				.rights {
					display: flex;
					justify-content: flex-end;

					.logout {
						padding-top: 10rpx;

						text {
							display: inline;
							border-radius: 20rpx;
							border: 1px solid #2979ff;
							padding: 8rpx 20rpx;
							font-size: 24rpx;
							text-align: right;
							color: #2979ff;
						}
					}
				}
			}

			.menus {
				margin-top: 30rpx;

				.items {
					display: flex;
					justify-content: space-between;
					padding: 40rpx 0;
					border-bottom: 1px solid #f4f4f5;
					align-items: center;
				}
			}
		}
	}
</style>